package com.freight.tws.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.freight.common.core.annotation.Excel;
import com.freight.common.core.web.domain.MyPlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 预警对象 tws_warn
 * 
 * @author ruoyi
 * @date 2023-06-29
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tws_warn")
public class TwsWarn extends MyPlusEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 预警内容 */
    @Excel(name = "预警内容")
    private String content;

    /** 处理 0未处理 1已处理 */
    @Excel(name = "处理 0未处理 1已处理")
    private String isHandle;

}
